<?php /* Smarty version 2.6.18, created on 2009-05-21 08:11:06
         compiled from ua-admin/login.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'mailto', 'ua-admin/login.html', 130, false),)), $this); ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $this->_tpl_vars['Charset']; ?>
">
<title>控制台_<?php echo $this->_tpl_vars['sitetitle']; ?>
</title>
<link href="<?php echo $this->_tpl_vars['CSS_PATH']; ?>
css/style.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="<?php echo $this->_tpl_vars['JS_PATH']; ?>
js/prototype.js"></script>
<style>
.errhandler {color:#FF0000; text-align:center; font-weight:bold}
.login_btn_mouseout {
BORDER-RIGHT: #2C59AA 1px solid; PADDING-RIGHT: 2px; BORDER-TOP: #2C59AA 1px solid; PADDING-LEFT: 2px; FONT-SIZE: 12px; FILTER: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#ffffff, EndColorStr=#C3DAF5); BORDER-LEFT: #2C59AA 1px solid; CURSOR: hand; COLOR: black; PADDING-TOP: 2px; BORDER-BOTTOM: #2C59AA 1px solid
}
.login_btn_mouseover {
BORDER-RIGHT: #2C59AA 1px solid; PADDING-RIGHT: 2px; BORDER-TOP: #2C59AA 1px solid; PADDING-LEFT: 2px; FONT-SIZE: 12px; FILTER: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#ffffff, EndColorStr=#D7E7FA); BORDER-LEFT: #2C59AA 1px solid; CURSOR: hand; COLOR: black; PADDING-TOP: 2px; BORDER-BOTTOM: #2C59AA 1px solid
}
.login_btn_mousedown
{
BORDER-RIGHT: #FFE400 1px solid; PADDING-RIGHT: 2px; BORDER-TOP: #FFE400 1px solid; PADDING-LEFT: 2px; FONT-SIZE: 12px; FILTER: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#ffffff, EndColorStr=#C3DAF5); BORDER-LEFT: #FFE400 1px solid; CURSOR: hand; COLOR: black; PADDING-TOP: 2px; BORDER-BOTTOM: #FFE400 1px solid
}
.login_btn_mouseup {
BORDER-RIGHT: #2C59AA 1px solid; PADDING-RIGHT: 2px; BORDER-TOP: #2C59AA 1px solid; PADDING-LEFT: 2px; FONT-SIZE: 12px; FILTER: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#ffffff, EndColorStr=#C3DAF5); BORDER-LEFT: #2C59AA 1px solid; CURSOR: hand; COLOR: black; PADDING-TOP: 2px; BORDER-BOTTOM: #2C59AA 1px solid
}
textarea, input, select{
    background: #FFFFFF;
    border: 1px solid #CCCCCC;
    color: #000000;
    font-family: verdana, tahoma, sans-serif;
    font-size: 0.95em;}
.username{
    background-image:url(images/username.gif);
	background-position: 1px 1px;
	background-repeat:no-repeat;
	padding-left:20px;
	height:20px;
	font-size: 13px;
	font-weight:bold;
	font-family:Arial;
	}
.password{
    background-image:url(images/password.gif);
	background-position: 1px 1px;
	background-repeat:no-repeat;
	padding-left:20px;
	height:20px;
	font-size: 13px;
	font-family:Arial;
}
</style>
<script language="javascript">
<!-- 
function logined(){
<?php if ($_SESSION['is_admin'] == ""): ?>
	if($F('username') == ""){
		alert("请输入用户名");
		$('username').focus();
		return false;
	}
<?php endif; ?>
	if($F('userpass') == ""){
		alert("请输入密码");
		$('userpass').focus();
		return false;
	}
	<?php if ($this->_tpl_vars['IfCpPicture']): ?>
	if($F('login_auth') == ""){
		alert("请输入验证码，不区分大小写");
		$('login_auth').focus();
		return false;
	}
	<?php endif; ?>
	return true;
}
<?php if ($_SESSION['is_admin'] == ""): ?>
window.onload="javascript:$('username').focus();";
<?php endif; ?>
//-->
</script>
</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="#FFFFFF">
<br>
<br>
<br>
<table width="613" height="380" border="0" align="center" cellpadding="0" cellspacing="1" background="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
admin/login.jpg">
  <tr> 
    <td height="100" align="center" valign="bottom" class="font12"> 
      <div align="left"> </div></td>
  </tr>
  <tr>
    <td height="100" align="center" class="font12"><div align="center"><strong class="title"><font color="#FFFFFF"><a href="<?php echo $this->_tpl_vars['SiteUrl']; ?>
" target="_blank"><?php echo $this->_tpl_vars['sitename']; ?>
</a> 控制台_<?php echo $this->_tpl_vars['sitename']; ?>
</font></strong></div></td>
  </tr>
  <tr>
    <td height="160" align="center" valign="bottom" class="font12">
	<form name="loginfrm" action="<?php echo $_ENV['PHP_SELF']; ?>
" method="post" autocomplete="off" target="_parent">
        <table width="75%" border="0" align="center" cellpadding="2" cellspacing="2" class="font12">
        <tr> 
          <td width="46%"><?php echo $this->_tpl_vars['Content1']; ?>
<img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
admin/icon03.gif" width="11" height="11"> 
            <label for="username">用户名</label>
            <?php if ($_SESSION['is_admin']): ?><?php echo $_SESSION['is_admin']; ?>
<input type="hidden" name=a[username] class="username" id="username2" size="15" maxLength="20" value="<?php echo $_SESSION['is_admin']; ?>
"><?php else: ?><input tabindex="1" type="text" name=a[username] class="username" id="username" size="15" maxLength="20" value="<?php echo $_SESSION['is_admin']; ?>
"><?php endif; ?>			</td>
          <td colspan="2"><img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
admin/icon03.gif" width="11" height="11"> 
            <label for="userpass">密　码</label> 
            <input tabindex="2" type="password" name="a[userpass]" class="password" id="userpass" size=15 maxLength=20>			</td>
          <td><input class="login_btn_mouseout" onMouseOver="this.className='login_btn_mouseover'" onMouseOut="this.className='login_btn_mouseout'" onMouseDown="this.className='login_btn_mousedown'" onMouseUp="this.className='login_btn_mouseup'" name="login" type="submit" value="登 陆" onClick="return logined();"></td>
        </tr>
<?php if ($this->_tpl_vars['IfCpPicture']): ?>        
        <tr> 
          <td colspan="2"><img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
admin/icon03.gif" width="11" height="11"> 输入四位数验证码： <input name="login_auth" tabindex="3" id="login_auth" type="text" value="" size="4" maxlength="4">  
		  <img src="../auth_image.php">		  
		  </td>
          <td valign="bottom" width="24%" colspan="2"></td>
        </tr>
<?php endif; ?>
        <tr> 
          <td colspan="4"><!--忘记了您的密码？--><div id="errhandler" class="errhandler"><?php echo $this->_tpl_vars['LoginError']; ?>

          </div></td>
        </tr>
        <tr> 
          <td colspan="4">&nbsp;</td>
        </tr>
      </table>
	
	</form>
	</td>
  </tr>
</table>
<table width="613" height="90" border="0" align="center" cellpadding="0" cellspacing="1">
  <tr> 
    <td height="75" align="center" valign="top" class="font12"> <br>
      <div align="center"><font color="#999999">(1)建议用户使用IE 6.0(或以上)版本的浏览器 <br>
	  (2)如有问题，请联系<?php echo smarty_function_mailto(array('address' => ($this->_tpl_vars['serviceemail']),'encode' => 'javascript','subject' => "你好:",'text' => ($this->_tpl_vars['serviceemail'])), $this);?>
 <br>
        友邻php电子商务版权所有 2007(C)<br>
        <a href="http://www.miibeian.gov.cn/ " target="_blank" class="link12_red"><?php echo $this->_tpl_vars['IcpNumber']; ?>
</a></font></div></td>
  </tr>
</table>
</body>
</html>